const mongoose = require("mongoose");
const baseModel = require('./baseModel')
const subscribeModel = new mongoose.Schema({
      user: {
        type: mongoose.Schema.ObjectId,
        ref:'User' //关联用户表
      },
      channel:{
        type: mongoose.Schema.ObjectId,
        ref:'User' //关联用户表
      },
      ...baseModel
})

module.exports = subscribeModel